<template>
  <div>
    <h2>{{ name }}</h2>
    <h2>{{ age }}</h2>
    <h2>{{ gander }}</h2>
    <h2>{{ car }}</h2>
    我自己额东西
    <h2>{{ toy }}</h2>
    <button @click="sendGy(toy)">提交</button>
  </div>
</template>

<script>
export default {
  name: "Clicd",
  props: ["name", "age", "gander", "car", "sendGy"],
  data() {
    return {
      toy: "奥特曼",
    };
  },
};
</script>

<style scoped>
</style>